

#ifndef VARIABLEDOTAUX_H
#define VARIABLEDOTAUX_H

// MOOSE includes
#include "AuxKernel.h"

// Forward declarations
class VariableDotAux;

template <>
InputParameters validParams<VariableDotAux>();

/**
 * Extract a component from the dot of a variable
 */
class VariableDotAux : public AuxKernel
{
public:
  /**
   * Class constructor
   * @param parameters Input parameters for the object
   */
  VariableDotAux(const InputParameters & parameters);

protected:
  virtual Real computeValue() override;

private:
  /// Reference to the dot of the coupled variable
  const VariableValue & _v_dot;

};

#endif // VARIABLEDOTAUX_H
